Class IbmDb2

Summary

Fully Qualified Name: Laminas\Db\Adapter\Driver\IbmDb2\IbmDb2
Implements: DriverInterface, ProfilerAwareInterface

Description

Methods

Name Description Defined By
__construct() IbmDb2
checkEnvironment() Check environment IbmDb2
createResult() Create result IbmDb2
createStatement() Create statement IbmDb2
formatParameterName() Format parameter name IbmDb2
getConnection() Get connection IbmDb2
getDatabasePlatformName() Get database platform name IbmDb2
getLastGeneratedValue() Get last generated value IbmDb2
getPrepareType() Get prepare type IbmDb2
getProfiler() IbmDb2
registerConnection() IbmDb2
registerResultPrototype() IbmDb2
registerStatementPrototype() IbmDb2
setProfiler() IbmDb2

Method Details

__construct()

Parameter Name Type Description
$connection array|\Connection|resource
$statementPrototype null|\Statement
$resultPrototype null|\Result

Returns:

checkEnvironment()

Check environment

Returns: bool

createResult()

Create result

Parameter Name Type Description
$resource resource

Returns: \Result

createStatement()

Create statement

Parameter Name Type Description
$sqlOrResource string|resource

Returns: \Statement

formatParameterName()

Format parameter name

Parameter Name Type Description
$name string
$type mixed

Returns: string

getConnection()

Get connection

Returns: \Connection

getDatabasePlatformName()

Get database platform name

Parameter Name Type Description
$nameFormat string

Returns: string

getLastGeneratedValue()

Get last generated value

Returns: mixed

getPrepareType()

Get prepare type

Returns: string

getProfiler()

Returns: null|\Profiler\ProfilerInterface

registerConnection()

Parameter Name Type Description
$connection \Connection

Returns: self Provides a fluent interface

registerResultPrototype()

Parameter Name Type Description
$resultPrototype \Result

Returns: self Provides a fluent interface

registerStatementPrototype()

Parameter Name Type Description
$statementPrototype \Statement

Returns: self Provides a fluent interface

setProfiler()

Parameter Name Type Description
$profiler \Profiler\ProfilerInterface

Returns: self Provides a fluent interface

Top